.login-floating {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .3);
  z-index: 1000;

  .card {
    margin: 15vh auto 50px;
    width: 440px;
    background-color: #ebeffd;
    border-radius: 2px;

    .navs {
      margin: 2px auto 0;
      width: 100%;
      padding: 0 40px;
      height: 69px;
      border-bottom: 1px solid #e3e3e3;
      // .et-flex-start();
      .et-flex-center();

      .nav {
        flex: 1;
        height: 100%;
        border-bottom: 3px solid transparent;
        .et-flex-center();
        font-size: 20px;
        font-weight: 700;
        cursor: pointer;
        color: #666;

        &.actived {
          color: @primary-color;
          border-color: @primary-color  !important;
        }
      }
    }

    .container {
      width: 100%;
      padding: 40px;
      box-sizing: border-box;

      .sign-rows {
        width: 100%;
        .et-flex-column-center();

        .sign-row {
          width: 100%;
          height: 40px;
          margin-top: 5px;
          .et-flex-start();

          .sign-field {
            flex: 1;
            height: 40px;
            background-color: white;
            border-radius: 4px;
            .et-flex-start();

            .field-icon {
              width: 20px;
              height: 20px;
              margin: 0 5px;
              font-size: 20px;
              flex-shrink: 0;
              color: #c0c4cc;

              &.hoverable {
                cursor: pointer;
              }
            }

            input {
              border: 0;
              padding: 0 16px;
              outline: none;
              flex: 1;

              &::placeholder {
                color: #bbb;
              }
            }
          }

          .code-img {
            width: 88px;
            height: 100%;
            margin-left: 10px;
            background-color: white;
            cursor: pointer;
            img{
              width: 100%;
              height: 100%;
            }
          }

          .send-btn {
            width: 106px;
            height: 100%;
            border-radius: 4px;
            border: 1px solid @primary-color;
            box-sizing: border-box;
            background-color: white;
            color: @primary-color;
            .et-flex-center();
            cursor: pointer;
            margin-left: 20px;
          }
        }

        .tips {
          align-self: flex-start;
          font-size: @font-size-mini;
          color: @primary-color;
          padding-top: 4px;
          opacity: 0;

          &.showTips {
            opacity: 1 !important;
          }
        }

        .forget-password {
          align-self: flex-end;
          font-size: @font-size-mini;
          color: #666;
          cursor: pointer;
          &:hover {
            color: @primary-color;
          }
        }
      }

      .footer {
        width: 100%;
        margin-top: 10px;
        .et-flex-spacebetween();

        .btn-normal {
          background-color: @primary-color;
          color: white;
        }

        .cancel-btn {
          width: 120px;
          height: 44px;
          box-sizing: border-box;
          border: 1px solid @primary-color;
          border-radius: 4px;
          .et-flex-center();
          font-size: 18px;
          color: @primary-color;
          cursor: pointer;

          &:hover {
            .btn-normal();
          }
        }

        .submit-btn {
          width: 221px;
          height: 44px;
          box-sizing: border-box;
          border: 1px solid @primary-color;
          border-radius: 4px;
          .et-flex-center();
          font-size: 18px;
          color: @primary-color;
          cursor: pointer;
          .btn-normal();
        }
      }
      .register-box{
        width: 100%;
        margin-top: 20px;
        .et-flex-spacebetween();
        .registers{
          width: 180px;
          height: 32px;
          line-height: 32px;
          text-align: center;
          border-radius: 16px;
          cursor: pointer;
          .register{
            color: @primary-color;
          }
        }
        .forget{
          color: @primary-color;
          cursor: pointer;
        }
      }
    }
  }
}